package com.passive.lock.mapper;

import com.passive.lock.model.po.TMenu;
import com.passive.lock.model.vo.TMenuVo;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Repository("TMenuMapperCustom")
public interface TMenuMapperCustom {
	List<TMenu> menuTree(@Param("roleid") Integer roleid);
	
	List<TMenu> menuRight(@Param("roleid") Integer roleid);
	
	List<TMenu> menuList(@Param("ismenu") Integer ismenu);

    List<TMenuVo> menuTreeListByMenuIds(List<Integer> menuIds);
}